import http from '@/api/http'

export function pageSalesOrders(data) {
  return http.post('/sale/sales/order/page', data)
}

export function addSalesOrder(data, options = {}) {
  const headers = {}
  if (options.userId) headers['X-User-Id'] = options.userId
  return http.post('/sale/sales/order', data, { headers })
}


